package com.rainbow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rainbow.entity.User;

import java.util.Map;

/**
 * @Author rainbow
 **/
public interface UserService extends IService<User> {


    /**
     * 用户注册
     *
     * @param user
     * @return
     */
    Map<String, Object> register(User user);

    /**
     * 用户登录
     *
     * @param user
     * @return
     */
    Map<String, Object> login(User user);
}
